<?php

namespace App\Models;

class Tag extends Model
{
    protected $fillable = ['name', 'icon', 'description', 'taxonomy_id'];

    public function taxonomy()
    {
        return $this->belongsTo(TagTaxonomy::class, 'taxonomy_id', 'id');
    }

}
